//创建关于layout的仓库
import { defineStore } from 'pinia'
import type { SettingStore } from './types/type'

export const useSettingStore = defineStore('setting', {
  state(): SettingStore {
    return {
      fold: false,
      refresh: false,
    }
  },
  getters: {},
  actions: {
    changeFold() {
      this.fold = !this.fold
    },
  },
})
